<?php /* Smarty version Smarty-3.0.8, created on 2011-11-03 19:07:11
         compiled from "templates/main_home_confira.html" */ ?>
<?php /*%%SmartyHeaderCode:7622793474eb3027fa4ec05-94959479%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '63668b90dd6ae9d53fc4004a86c315129cc9cbba' => 
    array (
      0 => 'templates/main_home_confira.html',
      1 => 1320352445,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7622793474eb3027fa4ec05-94959479',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<script>
$(document).ready(function(){
         $("#rolagem").slimScroll({
          color: '#000000',
          size: '6px',
          width: '510px',
          height:'410px'
          
     });  
});
</script>

<div id="painel">
            <?php if ($_smarty_tpl->getVariable('santander_usuario_id')->value!=null){?>
            <div class="logado">
                <div class="user_logado">Bem Vindo(a), <?php echo $_smarty_tpl->getVariable('santander_usuario_nome')->value;?>
!</div>
                <div id="bt_index_sair" class="bt_index_sair">Sair!</div>
            </div>
            <?php }else{ ?>
                <div class="barra_login">
                    <div class="img_email"><img src="<?php echo $_smarty_tpl->getVariable('base_image')->value;?>
/index/bt/balao_email.png" /></div>
                    <div class="img_senha"><img src="<?php echo $_smarty_tpl->getVariable('base_image')->value;?>
/index/bt/balao_senha.png" /></div>
                    <div class="txt_login">Login</div>
                </div>
                <div class="login_senha_cadastro">
                    <div class="form_email_senha">
                    <input type="text" class="email_form" id="email_form" name="email_form" />
                    <input type="password" class="senha_form" id="senha_form" name="senha_form" />
                    </div>
                    <div id="bt_loading_index" class="bt_loading_index"></div>
                    <div id="bt_index_entrar" class="bt_index_entrar"><img src="<?php echo $_smarty_tpl->getVariable('base_image')->value;?>
/index/bt/entrar.jpg"/></div>
                    <div id="bt_index_cadastro" class="bt_index_cadastro">
                        <img src="<?php echo $_smarty_tpl->getVariable('base_image')->value;?>
/index/bt/cadastre-se.jpg" />
                    </div>
                </div>
            <?php }?>
            
</div>

<div id="confira">
    <div class="titulo">Home > Playlist</div>
 <div id="rolagem"> 
    <?php  $_smarty_tpl->tpl_vars['pl'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('confira')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['pl']->key => $_smarty_tpl->tpl_vars['pl']->value){
 $_smarty_tpl->tpl_vars['p']->value = $_smarty_tpl->tpl_vars['pl']->key;
?>
    <div id="box_confira">
        <div class="posicao"><?php if ($_smarty_tpl->tpl_vars['p']->value<10){?>0<?php }?><?php echo $_smarty_tpl->tpl_vars['pl']->value['posicao'];?>
.</div>
        <div class="capa"><img src="<?php echo $_smarty_tpl->getVariable('base_image_jb')->value;?>
/uploaded/santander/musicas/imagem/<?php echo $_smarty_tpl->tpl_vars['pl']->value['imagem'];?>
" width="70" height="70" /></div>
        <div class="int_mus">
            <div class="artista"><?php echo $_smarty_tpl->tpl_vars['pl']->value['artista'];?>
</div>
            <div class="musica"><?php echo $_smarty_tpl->tpl_vars['pl']->value['musica'];?>
</div>
        </div>
    </div>
    <?php }} ?>
    <br /><br />
    </div>
</div>

